<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{mmLocationBean.id}"/>
		<f:event type="preRenderView" listener="#{mmLocationBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Mm Location"/>

	<ui:define name="header">
		Mm Location
	</ui:define>

	<ui:define name="subheader">
		View existing Mm Location
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="mmLocationBeanMmLocationLctNo" value="Lct No:"/>
			<h:outputText id="mmLocationBeanMmLocationLctNo" value="#{mmLocationBean.mmLocation.lctNo}"/>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationSysUomByLctDimUomNo" value="Sys Uom By Lct Dim Uom No:"/>
			<h:link id="mmLocationBeanMmLocationSysUomByLctDimUomNo" outcome="/sysUom/view" value="#{mmLocationBean.mmLocation.sysUomByLctDimUomNo}">
				<f:param name="id" value="#{mmLocationBean.mmLocation.sysUomByLctDimUomNo.uomNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationSysUomByLctAreaSizeUomNo" value="Sys Uom By Lct Area Size Uom No:"/>
			<h:link id="mmLocationBeanMmLocationSysUomByLctAreaSizeUomNo" outcome="/sysUom/view" value="#{mmLocationBean.mmLocation.sysUomByLctAreaSizeUomNo}">
				<f:param name="id" value="#{mmLocationBean.mmLocation.sysUomByLctAreaSizeUomNo.uomNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationMmLocationLevel" value="Mm Location Level:"/>
			<h:link id="mmLocationBeanMmLocationMmLocationLevel" outcome="/mmLocationLevel/view" value="#{mmLocationBean.mmLocation.mmLocationLevel}">
				<f:param name="id" value="#{mmLocationBean.mmLocation.mmLocationLevel.lctLevelNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationLctLevelTypeNo" value="Lct Level Type No:"/>
			<h:outputText id="mmLocationBeanMmLocationLctLevelTypeNo" value="#{mmLocationBean.mmLocation.lctLevelTypeNo}"/>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationLctCode" value="Lct Code:"/>
			<h:outputText id="mmLocationBeanMmLocationLctCode" value="#{mmLocationBean.mmLocation.lctCode}"/>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationLctSeqNo" value="Lct Seq No:"/>
			<h:outputText id="mmLocationBeanMmLocationLctSeqNo" value="#{mmLocationBean.mmLocation.lctSeqNo}"/>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationLctDescr" value="Lct Descr:"/>
			<h:outputText id="mmLocationBeanMmLocationLctDescr" value="#{mmLocationBean.mmLocation.lctDescr}"/>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationLctAreaSize" value="Lct Area Size:"/>
			<h:outputText id="mmLocationBeanMmLocationLctAreaSize" value="#{mmLocationBean.mmLocation.lctAreaSize}"/>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationLctWidth" value="Lct Width:"/>
			<h:outputText id="mmLocationBeanMmLocationLctWidth" value="#{mmLocationBean.mmLocation.lctWidth}"/>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationLctLength" value="Lct Length:"/>
			<h:outputText id="mmLocationBeanMmLocationLctLength" value="#{mmLocationBean.mmLocation.lctLength}"/>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationLctHeight" value="Lct Height:"/>
			<h:outputText id="mmLocationBeanMmLocationLctHeight" value="#{mmLocationBean.mmLocation.lctHeight}"/>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationLctEffectiveDate" value="Lct Effective Date:"/>
			<h:outputText id="mmLocationBeanMmLocationLctEffectiveDate" value="#{mmLocationBean.mmLocation.lctEffectiveDate}">
				<f:convertDateTime type="date"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationLctExpireDate" value="Lct Expire Date:"/>
			<h:outputText id="mmLocationBeanMmLocationLctExpireDate" value="#{mmLocationBean.mmLocation.lctExpireDate}">
				<f:convertDateTime type="date"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationLctStatusNo" value="Lct Status No:"/>
			<h:outputText id="mmLocationBeanMmLocationLctStatusNo" value="#{mmLocationBean.mmLocation.lctStatusNo}"/>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationMmLocationSubsForSubLctNo" value="Mm Location Subs For Sub Lct No:"/>
			<h:dataTable id="mmLocationBeanMmLocationMmLocationSubsForSubLctNo" styleClass="data-table" value="#{forgeview:asList(mmLocationBean.mmLocation.mmLocationSubsForSubLctNo)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Mm Location By Lct No"/>
					</f:facet>
					<h:link outcome="/mmLocationSub/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemMmLocationByLctNo" value="#{forgeview:display(_item.mmLocationByLctNo)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sub Lct Descr"/>
					</f:facet>
					<h:link outcome="/mmLocationSub/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSubLctDescr" value="#{_item.subLctDescr}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="mmLocationBeanMmLocationMmLocationSubsForLctNo" value="Mm Location Subs For Lct No:"/>
			<h:dataTable id="mmLocationBeanMmLocationMmLocationSubsForLctNo" styleClass="data-table" value="#{forgeview:asList(mmLocationBean.mmLocation.mmLocationSubsForLctNo)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Mm Location By Sub Lct No"/>
					</f:facet>
					<h:link outcome="/mmLocationSub/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemMmLocationBySubLctNo" value="#{forgeview:display(_item.mmLocationBySubLctNo)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sub Lct Descr"/>
					</f:facet>
					<h:link outcome="/mmLocationSub/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSubLctDescr" value="#{_item.subLctDescr}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>